.container {
  width: 100vw;
  height: 100vh;
  background: #f3f8ff;
  display: flex;
  flex-direction: column;
}

.headerContainer {
  height: 72px;
  align-items: center;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  background: #ffffff;
  box-shadow: 0px 0px 12px 0px rgba(4, 36, 122, 0.1);

  .logo {
    display: block;
    width: 152px;
    height: 34px;
  }

  .userBox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 32px;

    .avatar {
      display: block;
      width: 40px;
      height: 40px;
    }

    .username {
      font-size: 14px;
      font-weight: 400;
      color: #333333;
      line-height: 21px;
    }
  }
}
.popover {
  :global {
    .ant-popover-inner {
      padding: 0 !important;
      overflow: hidden;
    }
  }
}
.antdMenu {
  border-right: none !important;
}
.contentContainer {
  display: flex;
  flex: 1;
  height: 0;
  padding-top: 15px;

  .menuContainer {
    width: 226px;
    margin-right: -16px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;

    &.collapsed {
      width: 90px;
      .label {
        opacity: 0;
      }

      .oneMenu.index1.selected {
        color: #008bd5;
        background: #ffffff;
        box-shadow: 0px 0px 6px 0px rgba(4, 36, 122, 0.1);
        cursor: default;
      }
    }

    .menuBox {
      height: 0;
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      padding-left: 15px;
      box-shadow: inset -2px -2px 4px 0px rgba(164, 173, 185, 0.1);

      &::-webkit-scrollbar {
        background-color: transparent;
        width: 12px;
      }

      &::-webkit-scrollbar-thumb {
        background-color: inherit;
        border-radius: 8px;
        background-clip: content-box;
        border: 2px solid transparent;
      }

      &::-webkit-scrollbar-thumb:hover {
        transition: 0s;
        background-color: rgba;
      }

      .oneMenuBox {
        .menuChildren {
          transition: all 0.3s;
          overflow: hidden;
        }
      }

      .oneMenu {
        width: 211px;
        box-sizing: border-box;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        padding: 16px 30px 16px 23px;
        display: flex;
        align-items: center;
        transition: all 0.3s;
        overflow: hidden;
        cursor: pointer;
        color: #3f4250;
        text-decoration: none;

        &.index1 {
        }

        &.index2 {
          padding-left: 64px;
        }

        &.index3 {
          padding-left: 74px;
        }

        .icon {
          display: block;
          width: 20px;
          height: 20px;
          margin-right: 11px;
        }

        .label {
          flex: 1;
          font-size: 15px;
          font-weight: 400;
          line-height: 23px;
          transition: all 0.3s;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }

        .arrow {
          margin-left: 10px;
          display: block;
          width: 12px;
          height: 12px;
          background-image: url('./assets/arrow.png');
          background-size: contain;
          transition: all 0.3s;
          &.open {
            transform: scaleY(-1);
          }
          &.selected {
            background-image: url('./assets/arrow_selected.png');
          }
        }

        &.curr {
          color: #008bd5;
          background: #ffffff;
          box-shadow: 0px 0px 6px 0px rgba(4, 36, 122, 0.1);
          cursor: default;
        }

        &.selected {
          color: #008bd5;
        }

        &:not(.selected):active {
          box-shadow:
            inset -3px 3px 6px rgba(4, 36, 122, 0.1),
            inset 3px -3px 6px rgba(#ffffff, 0.5);
        }

        &:hover {
          color: #008bd5;
        }
      }
    }

    .collapsedBtn {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 52px;
      background: #f3f8ff;
      transition: all 0.3s;
      padding-right: 18px;
      cursor: pointer;
      color: rgba(#3f4250, 0.6);

      &:hover {
        color: rgba(#3f4250, 1);
      }
    }
  }

  .content {
    display: flex;
    width: 0;
    flex: 1;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    margin-right: 15px;
    margin-bottom: 15px;
  }
}